@extends('enterprise.layout.common')
@section('content')
    <link rel="stylesheet" href="{{asset('css/enterprise/connect.css')}}">
        <!--头部-->
        <!--内容-->
        <section class="">
            <div class="articleheader">
                <h1>{{$info['title']}}</h1>
                <i class="icon iconfont cFF3300" style="font-size:23px;font-weight: 700;">&#xe64c;</i>
            </div>
            <div class="w1200">
                {!! $info['content'] !!}
                <div class="map">
                    <div id="company_map" style="width:655px;height:609px;text-align: center;margin:0 auto;"></div>
                </div>
            </div>
        </section >
        <!--脚-->
@endsection
<script src="{{asset('/common/enterprise/jquery-3.3.1.js')}}"></script>
<script type="text/javascript" src="http://api.map.baidu.com/getscript?key=&v=1.1&services=true"></script>
<script>
  $(function(){
      // 地图
      var map = new BMap.Map('company_map');
      var point = new BMap.Point(120.326997, 36.089052);
      var marker = new BMap.Marker(point);
      map.centerAndZoom(point, 16);
      map.addOverlay(marker);
  })
</script>

